﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;


namespace School.Pages.Admission.Reports
{
    public partial class ShowReport : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            var x = (IQueryable<int>)Session["privilage"];

            if (x.Contains(1002) == true)
            {

            }

            else
                Response.Redirect("../Default.aspx");
        }

        protected void Obj_Selecting(object sender, ObjectDataSourceSelectingEventArgs e)
        {
            e.InputParameters["Id"] = Convert.ToInt32(Session["FileOrderId"]);
        
        }
      
    }
}